from pathlib import Path

# 定义路径
path = Path(r"C:\Users\chase\Documents\Projects\python\video\aesTest")

# 获取路径的各级部分
parts = path.parts

print("路径的各级部分:", parts)
